package com.yxh.dto;

import java.io.Serializable;

/**
 * 用户信息
 * 
 */
public class UserDto extends BaseDto implements Serializable {

	private static final long serialVersionUID = 1L;

	public String uid;
	public String token;
	public String userPic;// 头像
	public String nickname;// 名称
	public String userSex;// 性别
	public String phoneNumber;// 手机号码
	public String userQrCode;// 用户二维码
	public String province;
	public String city;
	public String area;

	public String userType;// 用户类型
	public String isValid;// 1是正常状态 2是冻结状态
	public String lastLoginDate;// 最后登录时间
	public String loginCount;// 登录次数
	public String lastSearch;
	public String loginIp;// 登录ip
	public String groupid;// 用户推送组级
	public String msgCount;// 消息数量

	public String versions;// 版本号

	public UserDto() {

	}

	@Override
	public String toString() {
		return "UserDto [uid=" + uid + ", token=" + token + ", userPic="
				+ userPic + ", nickname=" + nickname + ", userSex=" + userSex
				+ ", phoneNumber=" + phoneNumber + ", userQrCode=" + userQrCode
				+ ", province=" + province + ", city=" + city + ", area="
				+ area + ", userType=" + userType + ", isValid=" + isValid
				+ ", lastLoginDate=" + lastLoginDate + ", loginCount="
				+ loginCount + ", lastSearch=" + lastSearch + ", loginIp="
				+ loginIp + ", groupid=" + groupid + ", msgCount=" + msgCount
				+ ", versions=" + versions + "]";
	}

}